<%--
 * display.jsp
 *
 * Copyright (C) 2014 Universidad de Sevilla
 * 
 * The use of this project is hereby constrained to the conditions of the 
 * TDG Licence, a copy of which you may download from 
 * http://www.tdg-seville.info/License.html
 --%>

<%@page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@taglib prefix="jstl" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@taglib prefix="security"	uri="http://www.springframework.org/security/tags"%>
<%@taglib prefix="display" uri="http://displaytag.sf.net"%>

<style>
#image {
    background-image: url("images/backgrounds/<jstl:out value="${card.getBackground().getFilename()}"/>");
    width:648px;
    height: 448px;
    margin: 0 auto;
}
#image p{
	padding-left: 20px;
	background-color:rgba(220,220,220,0.7);
}
#image h2{
	padding-left: 20px;
	background-color:rgba(220,220,220,0.7);
}
</style>

<div id="image" >
	<br></br>
	<h2><jstl:out value="${card.getTitle()}"/></h2>
	<p><jstl:out value="${card.getText()}"/></p>
</div>

<jsp:useBean id="date" class="java.util.Date" />